package cn.iocoder.yudao.module.member.convert.newsStudyInfo;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.member.api.newsStudyInfo.dto.NewsStudyInfoDTO;
import cn.iocoder.yudao.module.member.dal.dataobject.newsStudyInfo.NewsStudyRankingDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.member.controller.admin.newsStudyInfo.vo.*;
import cn.iocoder.yudao.module.member.dal.dataobject.newsStudyInfo.NewsStudyInfoDO;

/**
 * 新闻信息(成果信息) Convert
 *
 * @author 管理员
 */
@Mapper
public interface NewsStudyInfoConvert {

    NewsStudyInfoConvert INSTANCE = Mappers.getMapper(NewsStudyInfoConvert.class);

    NewsStudyInfoDO convert(NewsStudyInfoCreateReqVO bean);

    NewsStudyInfoDO convert(NewsStudyInfoUpdateReqVO bean);

    NewsStudyInfoRespVO convert(NewsStudyInfoDO bean);

    List<NewsStudyInfoRespVO> convertList(List<NewsStudyInfoDO> list);

    List<NewsStudyRankingRespVO> convertRangingList(List<NewsStudyRankingDO> list);

    PageResult<NewsStudyInfoRespVO> convertPage(PageResult<NewsStudyInfoDO> page);

    PageResult<NewsStudyInfoDTO> convertPage1(PageResult<NewsStudyInfoDO> page);

    List<NewsStudyInfoExcelVO> convertList02(List<NewsStudyInfoDO> list);

}
